package com.example.file;

import java.net.URLDecoder;
import java.net.URLEncoder;

/**
 * @author: dangwen
 * @createDate: 2022/2/10
 */
public class UrlDecoderTest {
    public static void main(String[] args) {
        String decode = URLDecoder.decode("%E5%85%85%E7%94%B5%E5%AE%9D");
        System.out.println(decode);
        String encode = URLEncoder.encode("充电宝");
        System.out.println(encode);

    }
}
